package Demo4;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 34255
 * Date: 2024-05-21
 * Time: 20:29
 */
class OutClass{
    int a = 2;
    private int b = 100;
    public static int c = 3;

    public void demo(){
        System.out.println("demo()...");
    }
}
public class Test2 {
    public static void main(String[] args) {
        new OutClass() {
//            @Override
//            public void demo(){
//                System.out.println("dsd");
//            }
        }.demo();
    }
}

